{{!-- same markup as ApplicationHelper#avatar, essensially --}}
{{#if this}}
  {{#ifAny avatar_url avatar_image_url}}
    {{#if alreadyEscaped}}
      <a
        {{#ifAny url html_url}}href="{{{or url html_url}}}"{{/ifAny}}
        class="avatar"
        style="background-image: url({{{or avatar_url avatar_image_url}}})">
        </a>
    {{else}}
      <a
        {{#ifAny url html_url}}href="{{or url html_url}}"{{/ifAny}}
        class="avatar"
        style="background-image: url({{or avatar_url avatar_image_url}})"
        ></a>
    {{/if}}
  {{/ifAny}}
{{/if}}
